package framework
{
	import framework.async.BranchResponder;

	import mx.rpc.AsyncToken;

	public function branch(... args):AsyncToken
	{
		var responder:BranchResponder = new BranchResponder;
		responder.branch = args;
		for each (var a:AsyncToken in args)
		{
			a.addResponder(responder);
		}
		responder.token.args = args.concat();
		return responder.token;
	}
}